package com.example.front.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class IncidentDto {
    private String name;
    private long gatewayId;
    @NotNull(message = "产线不能为空")
    private long lineId;
    private String lineName;
    @NotNull(message = "盒子类型不能为空")
    private long categoryId;
    @NotNull(message = "看板不能为空")
    private long dashboardId;
    private Long id;
    private Long tenantId;
    private Long eventId;
    private String eventName;
    private Date responseAt;
    private Long responseTime;//响应时长
    private Date completeAt;
    private Long completeTime;//结束时长
    private String userId;
    private String userName;
    private Long workshopId;
    private String workshopName;
    private Long boxId;
    private Long buttonId;
    private String solution;
    private Date createdAt;
    private int processingStatus;
    private String boxName;
    private String text;

    private int count;
}
